<style>
.layui-input-block{
margin-left:120px;
}
</style>
<!-- start form -->
<form class="layui-form" action="" id="orderEditForm">
	<div class="layui-row" style="margin-top:10px;">
		<input class="layui-input" type="hidden" th:value="${obj.id}" id="id" name="id">
		<input class="layui-input" type="hidden" th:value="${obj.companyId}" id="companyId" name="companyId">
		<input class="layui-input" type="hidden" th:value="${obj.supplierCustomerId} "id="supplierCustomerId" name="supplierCustomerId">
	      <div class="layui-col-xs6 layui-col-sm6 layui-col-md6">
	          <label class="layui-form-label" style="width:100px;">姓名：</label>
	          <div class="layui-input-block" style="width:200px;">
	          	<input type="text" class="layui-input" readonly name="name" required th:value="${obj.name}" >
	          </div>
	      </div>
	
	      <div class="layui-col-xs6 layui-col-sm6 layui-col-md6">
	          <label class="layui-form-label" style="width:100px;">职务：</label>
	          <div class="layui-input-block" style="width:200px;">
				<select  name="post" id="post" lay-verify="required" disabled>
	                  <option  th:each="ec:${postList}" th:value="${ec.id}" th:text="${ec.value}" th:selected="${ec.id}==${obj.post}"></option>
	              </select>	
	          </div>
	      </div>
	        </div>
   <div class="layui-row"  style="margin-top:10px;">
	      <div class="layui-col-xs6 layui-col-sm6 layui-col-md6">
	          <label class="layui-form-label" style="width:100px;">邮箱：</label>
	          <div class="layui-input-block" style="width:200px;">
	              <input type="text" class="layui-input" readonly name="email" required lay-verify="email" th:value="${obj.email}">
	          </div>
	      </div>
	      <div class="layui-col-xs6 layui-col-sm6 layui-col-md6">
	          <label class="layui-form-label" style="width:100px;">联系电话：</label>
	          <div class="layui-input-block" style="width:200px;">
	              <input type="text" class="layui-input"  readonly name="phone" required th:value="${obj.phone}">
	          </div>
	      </div>
	        </div>
   <div class="layui-row"  style="margin-top:10px;">
	      <div class="layui-col-xs6 layui-col-sm6 layui-col-md6">
	          <label class="layui-form-label" style="width:100px;">手机号：</label>
	          <div class="layui-input-block" style="width:200px;">
	              <input type="text" class="layui-input"  readonly name="mobile" required lay-verify="mobile" th:value="${obj.mobile}">
	          </div>
	      </div>
	      <div class="layui-col-xs6 layui-col-sm6 layui-col-md6">
	          <label class="layui-form-label" style="width:100px;">传真：</label>
	          <div class="layui-input-block" style="width:200px;">
	              <input type="text" class="layui-input" name="fax" readonly th:value="${obj.fax}">
	          </div>
	      </div>
	        </div>
   <div class="layui-row"  style="margin-top:10px;">
	      <div class="layui-col-xs6 layui-col-sm6 layui-col-md6">
	          <label class="layui-form-label" style="width:100px;">qq：</label>
	          <div class="layui-input-block" style="width:200px;">
	              <input type="text" class="layui-input" readonly name="qq" th:value="${obj.qq}">
	          </div>
	      </div>
	     
	      <div class="layui-col-xs6 layui-col-sm6 layui-col-md6">
	          <label class="layui-form-label" style="width:100px;">说明：</label>
	          <div class="layui-input-block" style="width:200px;">
	              <textarea class="layui-textarea"   style="min-height: 50px;" name="remark" readonly th:text="${obj.remark}"></textarea>
	          </div>
	      </div>
   </div>
   <div class="layui-row" style="margin-top:30px;" >
	    <div class="layui-col-xs12 layui-col-sm12 layui-col-md12" style="text-align:center;">
	      	<button type="button" class="layui-btn" id="closeBtn">关闭</button>
	    </div>
  </div>
</form>
<!-- end form -->
<script>
layui.use('form',function() {
	var form = layui.form;
	form.render();
	//关闭
	$("#closeBtn").click(function() {
		layer.closeAll();
	});
});
</script>